package com.cnap.multiclouldmgmt.model.dockerHarborModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author dyq
 * harbor 操作model
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.dockerHarborModel.PolicyModel",description = "仓库策略")
public class PolicyModel {

    //id
    @ApiModelProperty(value = "id")
    private String id;

    //access_secret
    @ApiModelProperty(value = "name")
    private String name;

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return Name
     */
    public String getName() {
        return name;
    }

    /**
     * set
     *
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }
}
